<% head_options(@structure) %>

<%= render :partial => 'shared/carusel', :locals=>{:structure=>@structure} %>

<% @posts.each do |post|%>
  <h2><%= post.title %></h2>
      
  <%= text_teaser(post.content, 250) %>
  
	<div class="more">
		<%= link_to 'Подробнее', post_path(post) %>
	</div>
<% end -%>

<div class="pages">
	<%= will_paginate(@posts)%>
</div>
